package com.example.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.backend.entity.XiangQing;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface XiangQingMapper extends BaseMapper<XiangQing> {

    @Select("select * from wm_xq where ddid = #{ddid}")
    List<XiangQing> queryXiangQingByddid(Integer ddid);
}
